﻿<Window x:Class="frmHistory"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="History" Height="351" Width="674" Background="Gray" WindowStyle="ToolWindow" WindowStartupLocation="CenterScreen" MaxHeight="351" MaxWidth="674">
    <Grid>
        <Button Height="23" HorizontalAlignment="Left" Margin="9,0,0,5" Name="btnClear" VerticalAlignment="Bottom" Width="100">Clear History</Button>
        <Button Height="22.8" HorizontalAlignment="Right" Margin="0,0,9,6" Name="btnClose" VerticalAlignment="Bottom" Width="69">Close</Button>
        <ListView Margin="10,10,12,32" Name="lvwHistory">
            <ListView.ContextMenu>
                <ContextMenu Name="chistory">History</ContextMenu>
            </ListView.ContextMenu>
            <ListView.View>
                <GridView Selector.IsSelected="True">
                    <GridViewColumn DisplayMemberBinding="{Binding Path=Userhistory_DT}">Date</GridViewColumn>
                    <GridViewColumn DisplayMemberBinding="{Binding Path=Type}">Type</GridViewColumn>
                    <GridViewColumn DisplayMemberBinding="{Binding Path=Userhistory_LinkID}">ID</GridViewColumn>
                    <GridViewColumn DisplayMemberBinding="{Binding Path=Userhistory_text}">Action</GridViewColumn>
                </GridView>
            </ListView.View>
        </ListView>
    </Grid>
</Window>
